package com.patMall.mapper;

import com.patMall.entity.Comment;

import java.util.List;

/**
 * @Author 750909637@qq.com
 * @PackageName patMall
 * @Package com.patMall.mapper
 * @Date 2024/1/10 15:41
 * @Version 1.0
 */
public interface CommentMapper {
    int insertComment(Comment comment);
    int updateComment(Comment comment);
    List<Comment> selectCommodityId(Integer commodityId);
    List<Comment> selectComment(Comment comment);
    List<Comment> getAllByCommentContent(String commentContent);
    List<Comment> findAllComment();
}
